<script setup>
  defineProps(['atitle'])
  defineEmits(['update:atitle'])
  </script>
  
  <template>
    <input
      type="text"
      :value="atitle"
      @input="$emit('update:atitle', $event.target.value)"
    />
  </template>